package com.cskaoyan.catmall.dao;

import com.cskaoyan.catmall.model.bo.OrderBo;
import com.cskaoyan.catmall.model.bo.RefundBo;
import com.cskaoyan.catmall.model.bo.ShipBo;
import com.cskaoyan.catmall.model.vo.ChannelVo;
import com.cskaoyan.catmall.model.vo.OrderDetailVo;
import com.cskaoyan.catmall.model.vo.OrderVo;

import java.util.List;

/**
 * @Author: 逍遥子
 * @Date: 2022/01/07/18:26
 * @Description:
 */
public interface OrderDao {

    List<OrderVo.ListDTO> selectOrder(OrderBo orderBo);

    OrderDetailVo.OrderDTO selectOrderDetailById(Integer id);

    int updateOrderStatus(ShipBo shipBo);

    List<ChannelVo> selectChannel();

    int deleteOrder(Integer id);


    List<OrderDetailVo.OrderGoodsDTO> selectOrderGood(Integer id);

    int OrderRefund(RefundBo refundBo);

}
